package com.aaa.three.mapper;

import com.aaa.three.pojo.domain.UserEmp;
import com.aaa.three.pojo.domain.UserLogin;
import com.aaa.three.pojo.domain.UserRegister;
import org.apache.ibatis.annotations.Param;

/**
 * @Author:lyq
 * @Date:2022/2/1415:26
 */
public interface UserLoginMapper {
    UserLogin islogin(@Param("username") String username,@Param("password") String password,@Param("telephone") String telephone);


    int addLogin(UserRegister userRegister);

    UserLogin repeatPhone(String telephone);

    UserLogin repeatU(String username);


    Integer updatePassword(@Param("telephone") String telephone, @Param("password") String password);
}
